package cn.ds.general.sql.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Sql {

    private List<Field> fields;

    private Table table;

    private List<Join> joins;

    private List<Condition> where;

    private String andOr = "and";

    private GroupBy groupBy;

    private List<OrderBy> orderBy;

    private Limit limit;

    private Union union;




}
